﻿
@{
    ViewData["Title"] = "ReceivableShow";
    Layout = "~/Views/Shared/Template.cshtml";
}
<div style="padding: 16px;margin-bottom:10px">
    <h3><span style="color:gray">应收管理</span></h3>
</div>
<div style="padding: 16px;margin-bottom:20px">
    <h4>数据筛选</h4>
    <hr />
    @* 查询条件 *@
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">流水号：</label>
                <div class="layui-input-block">
                    <input type="text" id="receivableSerialNumber" name="receivableSerialNumber" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">名称：</label>
                <div class="layui-input-block">
                    <input type="text" id="receivableName" name="receivableName" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">财务类别：</label>
                <div class="layui-input-block">
                    <select id="financeTypeName" name="financeTypeName" lay-filter="mySelectFilter"  class="dialog-select"></select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">付款方：</label>
                <div class="layui-input-block">
                    <input type="text" id="payer" name="payer" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">起始时间：</label>
                <div class="layui-input-block" style="float:left;margin-left:5px">
                    <input type="date" id="startTime" name="startTime" placeholder="起始时间" autocomplete="off" class="layui-input">
                </div>
                <div class="layui-input-block" style="float:right;margin-left:45px">
                    <input type="date" id="endTime" name="endTime" placeholder="结束时间" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">状态：</label>
                <div class="layui-input-block">
                    <select id="status" name="status" lay-filter="mySelectFilter"></select>
                </div>
            </div>
            <div class="layui-inline">
                <div class="layui-btn-container">
                    <button type="button" class="layui-btn layui-bg-blue" onclick="Show()">
                        <i class="layui-icon layui-icon-search"></i>查询
                    </button>
                    <button type="button" class="layui-btn layui-bg-gray" onclick="refesh()">
                        <i class="layui-icon layui-icon-refresh"></i>重置
                    </button>
                </div>
            </div>
        </div>
    </form>

    <hr />
    <hr />
    <div style="float:left">
        <h4>数据列表</h4>
    </div>
    <div style="float:right">
        <div class="layui-btn-container">
            <button type="button" class="layui-btn layui-bg-blue" lay-on="test-page-custom">
                <i class="layui-icon layui-icon-add-1"></i>新增
            </button>
            <button type="button" class="layui-btn layui-bg-blue" id="batchUpdBtn">
                <i class="layui-icon layui-icon-edit"></i>编辑
            </button>
            <button type="button" class="layui-btn layui-bg-blue" id="batchDeleteBtn">
                <i class="layui-icon layui-icon-delete"></i>删除
            </button>
            <button type="button" class="layui-btn layui-bg-blue" onclick="refesh()">
                <i class="layui-icon layui-icon-refresh"></i>刷新
            </button>
        </div>
    </div>
</div>
@* 表格 *@
<table class="layui-table" id="receivabletable" style="width:500px"></table>
<script type="text/html" id="toolbarDemo">
</script>
<script src="~/js/receivable/receivable.js"></script>
